package com.zr.corporatefactory.service;

import com.zr.corporatefactory.model.*;
import com.zr.util.ResultVo;

import javax.validation.Valid;
import java.util.List;

/**
 * Created by 天赐 on 2019/12/24.
 */
public interface CorFactoryService {


    ResultVo getPage(PageSelectVo pageSelectVo);

    /*Factory queryById(Integer id);*/

    ResultVo update(@Valid CorUpdate corUpdate);

    ResultVo updateStatus(CorFacStatus corFacStatus);

    List<legalperson> getPersonName();

    ResultVo addCor(@Valid CorAdd corAdd);
}
